package com.ruoyi.purpose.domain;


import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 房屋用途对象 house_purpose_t
 * 
 * @author lijie
 * @date 2023-04-20
 */
public class HousePurposeT extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 房屋用途id */
    private Long purposeId;

    /** 小区名称 */
    @Excel(name = "房屋用途名称")
    private String purposeName;

    /** 维修资金系数 */
    @Excel(name = "维修资金系数")
    private Double purposeMoney;

    /** 建筑成本 */
    @Excel(name = "建筑成本")
    private Double buildMoney;

    /** 创建者 */
    @Excel(name = "创建者")
    private String creater;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 创建者 */
    @Excel(name = "备注")
    private String remark;

    public void setPurposeId(Long purposeId) 
    {
        this.purposeId = purposeId;
    }

    public Long getPurposeId() 
    {
        return purposeId;
    }
    public void setPurposeName(String purposeName) 
    {
        this.purposeName = purposeName;
    }

    public String getPurposeName() 
    {
        return purposeName;
    }
    public void setPurposeMoney(Double purposeMoney)
    {
        this.purposeMoney = purposeMoney;
    }

    public Double getPurposeMoney()
    {
        return purposeMoney;
    }
    public void setBuildMoney(Double buildMoney)
    {
        this.buildMoney = buildMoney;
    }

    public Double getBuildMoney()
    {
        return buildMoney;
    }
    public void setCreater(String creater) 
    {
        this.creater = creater;
    }

    public String getCreater() 
    {
        return creater;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("purposeId", getPurposeId())
            .append("purposeName", getPurposeName())
            .append("purposeMoney", getPurposeMoney())
            .append("buildMoney", getBuildMoney())
            .append("creater", getCreater())
            .append("createDate", getCreateDate())
            .append("remark", getRemark())
            .toString();
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }
}
